package com.yunji.product.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.product.dto
 * @Title: ProductAccreditDTO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-09-06 18:25:36      V1.0        HuaAo       新建类
 */

@Data
public class ProductAccreditDTO {

    @ApiModelProperty("货柜类型code")
    @NotNull(message = "货柜类型code不能为空")
    private String typeCode;

    @ApiModelProperty("网点ID")
    private Long siteId;

    @ApiModelProperty("代理ID")
    private Long agentId;

    @ApiModelProperty("授权状态 0-开启 1-停用")
    private Integer status;

    @ApiModelProperty("商品Ids")
    @NotNull(message = "商品Ids不能为空")
    private Long[] productIds;

}